
import _fetch from "./request"
function getPhonecode(data) {
    return _fetch({
        url: "/sendsms",
        method: "post",
        data: data
    })
}
function toRegister(data) {
    return _fetch({
        url: "/register",
        method: "post",
        data: data
    })
}
export { getPhonecode, toRegister }